package com.ocn.li.scmdy.modules.app.form;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class UpdateCoinForm {
    @ApiModelProperty("操作对象手机号码")
    @NotBlank(message="手机号码不能为空")
    private String mobile;

    @ApiModelProperty("变动数目")
    @NotNull(message="变动数目不能为空")
    private Long num;

    @ApiModelProperty("备注")
    private String desc;

    @ApiModelProperty("1是添加，0是扣除")
    @NotNull(message="操作方式不能为空")
    private Integer  type;
}
